<template>
  <div class="organization">
    <OrgLeft/>
    <OrgRight/>
    <OrgBottom/>
  </div>
</template>
<script>
import OrgLeft from './left.vue'
import OrgRight from './right.vue'
import OrgBottom from './bottom.vue'
import { mapFun } from '../datasea/components/gdmap'
export default {
  name: 'Organization',
  components: {
    OrgLeft,
    OrgRight,
    OrgBottom
  },
  mounted () {
    if (!this.$root.MapGd) {
      this.$router.push('/')
      return
    }
    this.$root.MapGd.clearMap()
    this.gdmap()
  },
  methods: {
    gdmap () {
      mapFun(this.$root.MapGd)
    }
  }
}
</script>
<style lang="scss" scoped>
.organization{
   height: 0;
}
</style>
